<?php
//Start session (Already Started in App-Top
//session_start();

//Check whether the session variable SESS_MEMBER_ID is present or not
if (!isset($_SESSION['SESS_MEMBER_ID'])) {
    header("Location: ControlLogInFailed.php");
    exit();
}

if (trim($_SESSION['SESS_MEMBER_ID']) == '') {
    header("Location: ControlLogInFailed.php");
    exit();
}

?>